WPPayForm\App\Models\Form D

Total Complexity 143
Dependencies 10
Dependents 26
Total lines 894
Lines of code 719
Logical lines of code 352
Comment lines 14
Methods 39
Properties 1

Methods 39

Method Rating Maintainability Complexity Lines of code
getEditorShortCodes()
B
37 15 70
sanitizeFieldMaps()
A
45 12 39
saveForm()
A
46 8 40
getStatus()
A
40 6 66
getReceiptSettings()
A
51 8 26
getForms()
S
46 6 37
getBuilderSettings()
S
48 6 34
saveSettings()
S
52 6 24
getFormInputLabels()
S
55 6 20
getCurrencyAndLocale()
S
54 5 21
getInputShortcode()
S
52 4 24
getFormattedElements()
S
54 4 21
getCurrencySettings()
S
60 4 13
storeData()
S
53 3 22
updateForm()
S
54 3 20
getSchedulingSettings()
S
48 2 34
sanitizationRules()
S
58 3 16
getButtonSettings()
S
57 3 16
recaptchaType()
S
61 3 12
getDesignSettings()
S
58 2 16
migrate()
S
68 3 7
getForm()
S
64 3 9
getFormInfo()
S
63 3 9
hasPaymentFields()
S
64 3 9
hasTheFields()
S
65 3 9
getLabel()
S
64 3 10
index()
S
59 2 14
getConfirmationSettings()
S
59 2 14
deleteForm()
S
58 1 18
turnstileStatus()
S
68 2 7
hasRecurring()
S
78 1 3
store()
S
70 1 6
insertTemplateForm()
S
78 1 3
getTotalCount()
S
79 1 3
getPaymentMethodElements()
S
75 1 4
getFormStatus()
S
76 1 4
getAllPages()
S
71 1 6
getAllAvailableForms()
S
71 1 6
getAllForms()
S
68 1 7